//! Header for the Xenon class
#ifndef XENON_H
#define XENON_H

#include "Extras.h"

//! A concrete decorator which adds a cruise control to a Car 
/*!
The Xenon class adds a Cruise control (decorates) to a car.
\class Xenon
\author Thomas Pfeiffer
\date 20.11.2012
*/
class Xenon : public Extras {
public:

	//! CTor of the Xenon class
	/*!
	The CTor of the Xenon class. Initializes the Car it decorates.
	\param car An Object which implements ICar that should be decorated.
	\throws std::exception if car is null
	*/
	Xenon(ICar * car);	
	
protected:
	void DoPrint (std::ostream & out) const;

};

#endif